<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:shiro="http://shiro.apache.org/tags">
    <h:head>
        <title>Facelet Title</title>
    </h:head>
    <h:body>
        Hello, account.<br/>
        <shiro:authenticated>
            <p>Visit your <a href="#{request.contextPath}/account/account.xhtml">account.xhtml</a></p>
        </shiro:authenticated>
        <shiro:notAuthenticated>
            <p>If you want to access the authenticated-only <a href="#{request.contextPath}/account/account.xhtml">account.xhtml</a>,
                you will need to log-in first.</p>
        </shiro:notAuthenticated>
    </h:body>
</html>

